package edu.zqu.collegeField.framework.activiti.listener.impl;

import org.activiti.engine.delegate.DelegateExecution;
import org.activiti.engine.delegate.ExecutionListener;


public class FieldExecutionListener implements ExecutionListener {
    public void notify(DelegateExecution execution){
        String eventName = execution.getEventName();
        if ("start".equals(eventName)) {
            System.out.println("start=========");
        }else if ("end".equals(eventName)) {
            System.out.println("end=========");
        }
    }
}

